package com.school.domain;


import java.io.Serializable;

public class Student implements Serializable {

  private static final long serialVersionUID = 1388970482051533680L;
  private long sid;
  private String name;
  private String pwd;
  private long age;
  private String sex;
  private long clid;
  private long rid;

  public Student() {
  }

  public Student(String name, String pwd, long age, String sex, long clid, long rid) {
    this.name = name;
    this.pwd = pwd;
    this.age = age;
    this.sex = sex;
    this.clid = clid;
    this.rid = rid;
  }

  @Override
  public String toString() {
    return "Student{" +
            "sid=" + sid +
            ", name='" + name + '\'' +
            ", pwd='" + pwd + '\'' +
            ", age=" + age +
            ", sex='" + sex + '\'' +
            ", clid=" + clid +
            ", rid=" + rid +
            '}';
  }

  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }

  public long getSid() {
    return sid;
  }

  public void setSid(long sid) {
    this.sid = sid;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public long getAge() {
    return age;
  }

  public void setAge(long age) {
    this.age = age;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public long getClid() {
    return clid;
  }

  public void setClid(long clid) {
    this.clid = clid;
  }

  public long getRid() {
    return rid;
  }

  public void setRid(long rid) {
    this.rid = rid;
  }
}